import Vue from 'vue'


export function fetchLeavelSelectLists(opts) {
    return Vue.axios.post('/businessLeave/findLeaveList.do', {
        departmentName: opts.departmentId,
        status: opts.status,
        outsourcerName: opts.outsourcerName,
        outsourcerCode: opts.outsourcerCode,
        postCode: opts.jobName,
        startDate: opts.startDate,
        endDate: opts.endDate,
        currentPage: opts.currentPage,
        pageSize: opts.pageSize
    });
}
export function fetchLeavelSelectDetailInfo(opts) {
    return Vue.axios.post('/businessLeave/findLeaveDetail.do', {
        id: opts.id
    });
}